native int debug();
native void setTickCount(int tickCount);
native void srand(int seed);
native int rand(int min, int max);
native float frand();
native void wait(float second);
native void waitFrame(int frame);
native void yield();
native float sin(float degree);
native float cos(float degree);
native float tan(float degree);
native float atan2(float x, float z);
native float angleMod(float degree);
native float sqrt(float value);
native actor findActor(string name);
native void fade(float r, float g, float b, float a, float second);
native void loadImage(string filename);
native int create(float x, float y, float width, float height);
native void destory(int id);
native void touchable(int id, int enable);
native void changeScene(int sceneType);
native void swapScene();
native int getScene();
native int setLayer(int parent, int layer, int id);
native void swapLayer(int parent, int to, int from);
native void setPosition(int id, float x, float y);
native void setSize(int id, float w, float h);
native void setColor(int id, float r, float g, float b, float a, float second);
native void loadTexture(int id, string filename);
native void setTextureScroll(int id, float x, float y);
native void loadScript(int id, string filename);
native void setCellAnimation(int id, float width, float height, float wait, int start, int count, int loopCount);
native void startCellAnimation(int id);
native void stopCellAnimation(int id);
native void setCellNumber(int id, int pattern);;
native void addAnimation(int id, string name, float u, float v, float w, float h, float wait, int count, int loopCount);;
native void removeAnimation(int id, string name);
native void setAnimation(int id, string name);
native void move(int id, float x, float y, float second);
native void moveFinish(int id);
native void jump(int id, float second, float height);
native void shake(int id, float second, float amplitude);
native void setMessageDefaultPosition(float x, float y);;
native void setMessageDefaultMargin(float left, float top, float right, float bottom);
native void setMessageDefaultTexture(string filename);
native void setMessageDefaultTextColor(float r, float g, float b, float a);
native void openMessageWindow();
native void closeMessageWindow();
native void message(string text);
native void setMessageColor(float r, float g, float b, float a);
native void setMessageDelayTimer(float delayTimer);
native int getMessage();
native int select(string text);
native int touch();
native int checkTouch(int initial);
native int talk(string filename);
native int playMusic(string filename, float volume, float second);
native void stopMusic(int id, float volume, float second);
native void setMusicVolume(int id, float volume, float second);
native int loadSound(string filename);
native void releaseSound(int id);
native void playSound(int id);
